<?php

namespace App\Http\Requests\Api\V1;

class CollectRequest extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'product_id'=>'required'
        ];
    }

    public function message()
    {
        return [
            'product_id.required'=>'商品id必须',
        ];
    }
}
